package com.colin.aiyi.entity;

import java.util.List;

/**
 * Created by hl on 2017/6/12.
 */

public class MsgEntity {

    /**
     * count : 1
     * items : [{"isSystem":false,"deleted":false,"isRead":false,"id":1,"pushTime":1496980336000,"title":"会员消息","type":1,"userId":16,"content":"您的会员还有1天到期！"}]
     */
    boolean readStatue;//":false,
    private int count;
    private List<ItemsBean> items;


    public boolean isReadStatue() {
        return readStatue;
    }

    public void setReadStatue(boolean readStatue) {
        this.readStatue = readStatue;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * isSystem : false
         * deleted : false
         * isRead : false
         * id : 1
         * pushTime : 1496980336000
         * title : 会员消息
         * type : 1
         * userId : 16
         * content : 您的会员还有1天到期！
         */

        private boolean isSystem;
        private boolean deleted;
        private boolean isRead;
        private int id;
        private long pushTime;
        private String title;
        private int type;
        private int userId;
        private String content;
        private  long createdDate;//: 1497354623000,

        public long getCreatedDate() {
            return createdDate;
        }

        public void setCreatedDate(long createdDate) {
            this.createdDate = createdDate;
        }

        public boolean isIsSystem() {
            return isSystem;
        }

        public void setIsSystem(boolean isSystem) {
            this.isSystem = isSystem;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public boolean isIsRead() {
            return isRead;
        }

        public void setIsRead(boolean isRead) {
            this.isRead = isRead;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getPushTime() {
            return pushTime;
        }

        public void setPushTime(long pushTime) {
            this.pushTime = pushTime;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
